<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="#" type="image/png">

    <title>测站信息管理</title>

    <!--dynamic table-->
    <link th:href="@{/js/advanced-datatable/css/demo_page.css}" rel="stylesheet"/>
    <link th:href="@{/js/advanced-datatable/css/demo_table.css}" rel="stylesheet"/>
    <link rel="stylesheet" th:href="@{/js/data-tables/DT_bootstrap.css}"/>

    <div th:include="common :: commonheader"></div>
    <script th:src="@{/js/constrain.js}"></script>
    <script type="text/javascript">
        $(function () {
            $("#update-btn-river").click(updateRiverConstrain);
        });
    </script>
</head>

<body class="sticky-header">

<section>

    <div th:replace="common :: #leftmenu"></div>
    <!-- main content start-->
    <div class="main-content">

        <div th:replace="common :: headermenu"></div>

        <!-- page heading start-->
        <div class="page-heading">
            <h3>
                河流基础信息管理
            </h3>

        </div>
        <!-- page heading end-->

        <!--body wrapper start-->
        <div class="wrapper">
            <div class="row">
                <div class="col-sm-12">
                    <section class="panel">
                        <header class="panel-heading">
                            修改河流信息
                            <!--                            <span class="tools pull-right">-->
                            <!--                <a th:href="@{/river/delete/}">新增用户</a>-->
                            <!--                            </span>-->
                        </header>
                        <div class="panel-body">

                            <form class="form-signin" method="post" th:action="@{'/hlgl/update/' + ${river.riverCode}}">
                                <div class="login-wrap">
                                    <label style="color: #c9302c;" id="error-label"></label><br/>
                                    <input type="hidden" name="_method" value="put">
                                    河流编码：<input type="text" name="riverCode" id="riverCode" class="form-control"
                                                th:value="${river.riverCode}" autofocus>
                                    河流名称：<input type="text" name="riverName" id="riverName" class="form-control" th:value="${river.riverName}" >
                                    水系名称：<input type="text" name="riverSystemName" id="riverSystemName" class="form-control"
                                                th:value="${river.riverSystemName}">
                                    流域名称：<input type="text" name="drainageBasinName" id="drainageBasinName" class="form-control" th:value="${river.drainageBasinName}">

                                    备注：<input type="text" name="remark" class="form-control"
                                              th:value="${river.remark}">

                                    <button class="btn btn-lg btn-login btn-block" id="update-btn-river" type="submit">
                                        <i class="fa fa-check"></i>
                                    </button>

                                    <a th:href="@{/hlgl/list}" class="btn btn-lg btn-login btn-block" type="button">
                                        <i class="fa fa-backward"></i>
                                    </a>

                                </div>
                            </form>

                        </div>
                    </section>
                </div>
            </div>

            <!--body wrapper end-->

            <!--footer section start-->
            <footer>
                2024 &copy; by lsm </a>
            </footer>
            <!--footer section end-->


        </div>
        <!-- main content end-->
    </div>
</section>


<div th:replace="common :: #commonscript"></div>
<!--dynamic table-->
<script type="text/javascript" language="javascript" src="js/advanced-datatable/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="js/data-tables/DT_bootstrap.js"></script>
<!--dynamic table initialization -->
<!--<script src="js/dynamic_table_init.js"></script>-->


</body>
</html>
